Sometimes your application will need to iterate through the marks in an HIG_ARTX_PAGE object. This can be done by using a "foreach" mechanism:
For example, to delete all the selected marks, your application would do the following:
Copy Code | |
---|---|
HIG_ARTX_PAGE hMark = NULL;IG_ARTX_page_mark_first(hArtPage, &hMark); while (hMark != NULL) { AT_BOOL bSelected = FALSE;IG_ARTX_page_mark_is_selected(hArtPage, hMark, &bSelected); if (bSelected) { ... } } |